package com.sicau.basedemo.entity.param;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.io.Serializable;

/**
 * 分页通用参数
 */
@Data
@ApiModel(description = "分页通用参数")
public class PageParam implements Serializable {
    /**
     * 当前页从1开始
     */
    @ApiModelProperty(value = "当前页码")
    private Integer currentPage = 1;
    /**
     * 每页数据条数，
     */
    @ApiModelProperty(value = "每页数据条数")
    private Integer pageSize = 10;
}
